package cn.zzp.ggkt.vod.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Administrator
 * @description: Vod配置类
 * @date 2022/8/21 1:37
 */
@Configuration
@MapperScan("cn.zzp.ggkt.vod.mapper")
public class VodConfig {

    /**
     * MP提供的分页插件
     * @return
     */
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }

}
